package com.jinmdz.fmis.api.admin.model.administrativearea;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 记载对象
 *
 * @author LiCongLu
 * @date 2020-03-15 10:51
 */
@ApiModel(value = "记载对象", description = "记载对象")
public class AdministrativeAreaIdData extends BaseBean {
    /**
     * 主键
     */
    @AnValidate(name = "主键", code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "主键", name = "id", position = 1)
    private Integer id;

    public Integer getId() {
        return id;
    }

    public AdministrativeAreaIdData setId(Integer id) {
        this.id = id;
        return this;
    }
}
